//
//  ImageWaterView.h
//  LoveTrail
//
//  Created by giantumbrella on 15/6/24.
//  Copyright (c) 2015年 赵娟. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ImageInfo.h"
#import "UIImageView+WebCache.h"

@class ProductInfoModel;
//间距
#define SPACE 4
#define WIDTH [UIScreen mainScreen].applicationFrame.size.width/3

@protocol ImageDelegate<NSObject>
-(void)clickImage:(ImageInfo*)data;
@end

@interface SelfImageVIew : UIView
@property (nonatomic,weak)id<ImageDelegate> delegate;
@property (nonatomic,strong)ImageInfo *data;
@property (nonatomic,strong) ProductInfoModel *productInfoModel;

-(id)initWithImageInfo:(ImageInfo*)imageInfo y:(float)y withA:(int)a;
@end
